﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace CRM.BLL
{
    public class PartsModelMappingB
    {
        #region PartsModelMapping
        /// <summary>
        /// 获取PartsModelMapping信息
        /// </summary>
        public DataTable GetPartsModelMapping(ref CRM.MODEL.GetPartsModelMapping stu)
        {
            CRM.DAL.PartsModelMappingD obj = new CRM.DAL.PartsModelMappingD();
            DataTable dt = obj.ExecuteGetPartsModelMapping(ref stu);
            obj.Dispose();
            return dt;
        }

        /// <summary>
        /// 编辑PartsModelMapping信息
        /// </summary>
        public int EditPartsModelMapping(ref CRM.MODEL.EditPartsModelMapping stu)
        {
            CRM.DAL.PartsModelMappingD obj = new CRM.DAL.PartsModelMappingD();
            int effectRow = obj.ExecuteEditPartsModelMapping(ref stu);
            obj.Dispose();
            return effectRow;
        }
        #endregion
    }
}
